.class final Lcom/ninesky/browser/provider/downloads/h;
.super Ljava/lang/Object;


# instance fields
.field public a:Ljava/lang/String;

.field public b:Ljava/io/FileOutputStream;

.field public c:Ljava/lang/String;

.field public d:Z

.field public e:I

.field public f:I

.field public g:Ljava/lang/String;

.field public h:Landroid/net/Uri;

.field public i:Z

.field public j:Ljava/lang/String;


# direct methods
.method public constructor <init>(Lcom/ninesky/browser/provider/downloads/s;)V
    .locals 2

    const/4 v0, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-boolean v0, p0, Lcom/ninesky/browser/provider/downloads/h;->d:Z

    iput v0, p0, Lcom/ninesky/browser/provider/downloads/h;->e:I

    iput v0, p0, Lcom/ninesky/browser/provider/downloads/h;->f:I

    iput-boolean v0, p0, Lcom/ninesky/browser/provider/downloads/h;->i:Z

    iget-object v0, p1, Lcom/ninesky/browser/provider/downloads/s;->f:Ljava/lang/String;

    invoke-static {v0}, Lcom/ninesky/browser/provider/downloads/q;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/provider/downloads/h;->c:Ljava/lang/String;

    iget v0, p1, Lcom/ninesky/browser/provider/downloads/s;->m:I

    iput v0, p0, Lcom/ninesky/browser/provider/downloads/h;->f:I

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v1, Lcom/ninesky/browser/provider/downloads/w;->a:Landroid/net/Uri;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p1, Lcom/ninesky/browser/provider/downloads/s;->a:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/provider/downloads/h;->h:Landroid/net/Uri;

    iget-object v0, p1, Lcom/ninesky/browser/provider/downloads/s;->b:Ljava/lang/String;

    iput-object v0, p0, Lcom/ninesky/browser/provider/downloads/h;->j:Ljava/lang/String;

    iget-object v0, p1, Lcom/ninesky/browser/provider/downloads/s;->e:Ljava/lang/String;

    iput-object v0, p0, Lcom/ninesky/browser/provider/downloads/h;->a:Ljava/lang/String;

    return-void
.end method
